<table width="100%" border="0" cellpadding="0" cellspacing="0" class="guide">
	<tr>
		<td>
			<span style="float: left;">后台管理中心&nbsp;&raquo;&nbsp;推荐视频</span>
			<span style="float: right;">
			    <a href="./?controller=recommendsee&action=editseek">+ 添加</a>
				<a href="javascript:history.go(-1);">&lt;- 返回</a>
			</span>
		</td>
	</tr>
</table>

<form action="./?controller=recommendsee&action=doeditseekconfig" method="post">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableborder">
	<tr>
		<td class="altbg1">默认搜索名</td>
		<td class="altbg2">
			<input class="input" name="data5" value="<?php echo $this->config_data[5]['value'];?>" />
		</td>
	</tr>
	<tr>
		<td class="altbg1">默认推荐链接</td>
		<td class="altbg2">
			<input class="input" name="data6" value="<?php echo $this->config_data[6]['value'];?>" />
		</td>
	</tr>
	<tr>
		<td class="altbg1">搜索需要的URL</td>
		<td class="altbg2">
			<input class="input" name="data7" value="<?php echo $this->config_data[7]['value'];?>" />
		</td>
	</tr>
	<tr>
		<td class="altbg1" colspan=2 align="center">
			<input class="button" type="submit" value="提交" />
		</td>
	</tr>
</table>
</form>


<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableborder">
	<tr class="header">
		<td colspan="3">视频搜索</td>
	</tr>
	<tr class="category" align="center">
		<td width="40%">标题</td>
		<td width="40%">url</td>
		<td width="20%">操作</td>
	</tr>
<?php
foreach ($this->data as $row)
{
	echo <<<EOF
	<tr>
		<td class="altbg1" align="center">{$row['name']}</td>
		<td class="altbg2" align="center">{$row['url']}</td>
		<td class="altbg1" align="center">
		    <a href="./?controller=recommendsee&action=editseek&id={$row['id']}">编辑</a><br />
		    <a href="./?controller=recommendsee&action=deleteseek&id={$row['id']}">删除</a>
		</td>
	</tr>
EOF;
}
?>
	<tr class="category">
		<td align="center" colspan="3">
			<?php echo $this->paging; ?>
		</td>
	</tr>
</table>
